PdfSettings

public interface PdfSettings implements PdfPrinter.Settings<T>

Print settings available when printing PDF content on the PDF printer.

Since

7.13

Functions

Link copied to clipboard
public abstract void apply()
Applies the configured print settings.
Link copied to clipboard
public abstract Set<PageRange> pageRanges()
Returns an immutable set containing the page ranges to print.
public abstract T pageRanges(Array<PageRange> pageRanges)
public abstract T pageRanges(Set<PageRange> pageRanges)
Configures the page ranges to print.
Link copied to clipboard
public abstract PagesPerSheet pagesPerSheet()
Returns the number of pages per sheet.
public abstract T pagesPerSheet(PagesPerSheet pagesPerSheet)
Configures the number of pages per sheet.
Link copied to clipboard
public abstract Optional<Path> pdfFilePath()
Returns an Optional that contains the absolute destination PDF file path, or an empty Optional if there is not path configured.
public abstract T pdfFilePath(Path pdfFilePath)
Configures the path to the destination PDF file to print to.
Link copied to clipboard
public abstract Scaling scaling()
Returns the scaling used by the printer.
public abstract T scaling(Scaling scaling)
Configures the scaling for printing.